#define _CRT_SECURE_NO_WARNINGS   1

#include<stdbool.h>
#include<stdlib.h>
#include<stdio.h>
#include<assert.h>

typedef int StackType;




typedef struct Stack {
	StackType* a;
	int top;
	int capacity;


}ST;

void StackInit(ST*st);
void StackDestroy(ST*st);

void StackPush(ST*st,StackType x);
void StackPop(ST*st);
StackType StackTop(ST*st);

bool Is_Empty(ST*st);
int StackSize(ST*st);
